package com.heyqing.ems.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @TableName employee_info
 */
@Data
@Api(value = "员工实体")
@TableName(value = "employee_info")
public class EmployeeInfo {

    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;
    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    private String name;
    /**
     * 职位
     */
    @ApiModelProperty("职位")
    private String position;
    /**
     * 入职日期
     */
    @ApiModelProperty("入职日期")
    @TableField(value = "hire_date", updateStrategy = FieldStrategy.IGNORED)
    private Date hireDate;
    /**
     * 部门
     */
    @ApiModelProperty("部门")
    private String department;
    /**
     * 经理id
     */
    @ApiModelProperty("经理id")
    private Long managerId;

}
